package com.atguigu.yygh.user.client;

import com.atguigu.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName HospitalFeignClient
 * @Description: 类描述
 * @Author: admin
 * @CreateDate: 2024/7/25 17:44
 * @UpdateUser: 更新人
 * @UpdateDate: 2024/7/25 17:44
 * @UpdateRemark: 更新的信息
 * @Version: 1.0
 */
@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {
    @GetMapping("/api/user/patient/inner/get/{id}")
    public Patient getPatientOrder(@PathVariable("id") Long id);
}
